<?xml version='1.0' encoding='utf-8' ?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
		<title>21. Decision</title>
		<link type="text/css" rel="stylesheet" href="PLUGINS_ROOT/org.polarsys.capella.doc/html/styles.css"/>
	</head>
	<body>
		<h1 id="DECISION">DECISION</h1>
		<h3 id="DEFINITION">DEFINITION</h3>
		<p>The Decision control Function expresses a conditional course from input flow towards one of the output flows, according to a condition expression, usually based on flow contents.</p>
		<ul>
			<li>A Decision Function in a dataflow selects one output exchange among 	many, depending on its entries and the condition</li>
			<li>One condition is defined for each output; it is a logical 	combination of Boolean expressions (resulting in true or false 	value)</li>
		</ul>
		<p>Condition might involve:</p>
		<ul>
			<li>Input exchanges or port contents (data in exchange items)</li>
			<li>Attributes of source function (e.g. non functional properties)</li>
			<li>Some global data in the model, such as active states or modes.</li>
		</ul>
		<p>Only one output exchange is activated, depending on the condition that is satisfied.</p>
		<p>Care should be taken to ensure that at least one output could be activated under any condition.</p>
		<h3 id="ICONS">ICONS</h3>
		<p>
			<img height="66" width="75" border="0" src="Images/21.%20Decision_html_390f2d5b.png"/>
		</p>
	</body>
</html>